<h1>ระบบจัดเก็บเอกสาร</h1>
<ul id="breadcrumb">
	<li><span>ระบบจัดเก็บเอกสาร</span></li>	
</ul>
<div id="content">
	<?php echo form_open_multipart('files/save'); ?>
	<table class="form">
		<tr>
			<th>ชื่อไฟล์</th>
			<td><?php echo form_input('filename', $rs['filename']); ?></td>
		</tr>
		<tr>
			<th>ไฟล์อัพโหลด</th>
			<td><?php echo form_upload('src'); ?> &nbsp;&nbsp;<em><?php echo $rs['src'].$rs['src'] ? ' ['.(filesize('uploads/doc/'.$rs['src']) / 1024).'KB]' : NULL; ?></em></td>
		</tr>
		<tr>
			<th></th>
			<td>
				<input type="submit" class="button" value="<?php echo lang('btn_submit')?>" />
			<input type="button" class="button" value="<?php echo lang('btn_back')?>" onclick="window.location = '<?php echo site_url(); ?>files'" />
			</td>
		</tr>
	</table>
	<?php echo form_hidden('id', $rs['id']); ?>
	<?php echo form_hidden('file_id', 1); ?>
	<?php echo form_close(); ?>
</div>